package com.macro.mall.tiny.modules.pms.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Getter;
import lombok.Setter;
import org.checkerframework.checker.units.qual.A;

/**
 * <p>
 *
 * </p>
 *
 * @author tyrone
 * @since 2024-10-09
 */
@Getter
@Setter
@TableName("pms_cool_tool")
@ApiModel(value = "PmsCoolTool对象", description = "")
public class PmsCoolTool implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("分类id")
    private Integer categoryId;

    @ApiModelProperty("分类名")
    @TableField(exist = false)
    private String categoryName;

    @ApiModelProperty("工具名称")
    private String name;

    @ApiModelProperty("封面")
    private String icon;

    @ApiModelProperty("文件地址")
    private String url;

    @ApiModelProperty("展示状态 0非vip 1vip")
    private Integer showStatus;

    private Integer sort;

    private Integer type;

    @TableField(exist = false)
    @ApiModelProperty("分页参数")
    private Integer page = 1;

    @TableField(exist = false)
    @ApiModelProperty("分页参数")
    private Integer size = 10;




    @TableField(exist = false)
    @ApiModelProperty("文件地址数组，主要用添加PmsCoolTool的时候使用")
    private List<String> urls;

}
